package com.iflytek.esb.vo;

public class Database {
	private String type;
	private String driver;
	private String urlPattern;
	private String validationQuery;
	private String databaseDialect;
	
	public Database(String type, 
			String driver, 
			String urlPattern, 
			String validationQuery, 
			String databaseDialect) {
		this.type = type;
		this.driver = driver;
		this.urlPattern = urlPattern;
		this.validationQuery = validationQuery;
		this.databaseDialect = databaseDialect;
	}
	
	public String getType() {
		return type;
	}
	
	public void setType(String type) {
		this.type = type;
	}
	
	public String getDriver() {
		return driver;
	}
	
	public void setDriver(String driver) {
		this.driver = driver;
	}
	
	public String getUrlPattern() {
		return urlPattern;
	}
	
	public void setUrlPattern(String urlPattern) {
		this.urlPattern = urlPattern;
	}
	
	public String getValidationQuery() {
		return validationQuery;
	}

	public void setValidationQuery(String validationQuery) {
		this.validationQuery = validationQuery;
	}

	public String getDatabaseDialect() {
		return databaseDialect;
	}

	public void setDatabaseDialect(String databaseDialect) {
		this.databaseDialect = databaseDialect;
	}
}
